﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FlexControls
{
    public partial class FlexDataGridView : UserControl
    {
        public new event EventHandler MouseDoubleClick;
        protected virtual void RowDoubleClick()
        {
            if (this.MouseDoubleClick != null)
            {
                this.MouseDoubleClick(this, EventArgs.Empty);

            }
        }
        public FlexDataGridView()
        {
            InitializeComponent();
        }
        public int FormID;
        public int fcFormID
        {
            get
            {
                return FormID;
            }
            set
            {
                FormID = value;
            }
        }

        private void dgv_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            RowDoubleClick();
        }
    }
}
